Variational Inference in Probabilistic Programs a formal derivation of a Black-Box approach
نویسنده
چکیده
Probabilistic models are used in many elds to tackle di erent problems, ranging from image recognition to diagnosing diseases. The advantage of using models is that we can split the encoding of our problem into a probabilistic model from the ways we solve it. We can also classify models to develop some class-speci c, but not problem-speci c algorithms to solve given tasks. These algorithms are called inference algorithms. These classes of models ease the process of solving tasks, but scientists still need to develop class-speci c algorithms. A new approach, at the intersection of Programming Languages and Machine Learning, is called Probabilistic Programming. One of the goals of this approach is to let the computer do the inference automatically, so we do not have to develop class-speci c inference algorithms to accomplish our tasks. Probabilistic Programming Languages usually extend probabilistic models. However, researchers still need to derive general inference algorithms for probabilistic programs. In this report, we give a short introduction to probabilistic models and probabilistic programming. We encode probabilistic programs into a probabilistic transition system, and transform our inference task into an optimisation problem. We simplify this optimisation problem to derive a new, general, variational inference algorithm for probabilistic programs.
منابع مشابه
Overdispersed Black-Box Variational Inference
We introduce overdispersed black-box variational inference, a method to reduce the variance of the Monte Carlo estimator of the gradient in black-box variational inference. Instead of taking samples from the variational distribution, we use importance sampling to take samples from an overdispersed distribution in the same exponential family as the variational approximation. Our approach is gene...
متن کاملBlack-Box Policy Search with Probabilistic Programs
In this work we show how to represent policies as programs: that is, as stochastic simulators with tunable parameters. To learn the parameters of such policies we develop connections between black box variational inference and existing policy search approaches. We then explain how such learning can be implemented in a probabilistic programming system. Using our own novel implementation of such ...
متن کاملBlack Box Variational Inference
Variational inference has become a widely used method to approximate posteriors in complex latent variables models. However, deriving a variational inference algorithm generally requires significant model-specific analysis. These efforts can hinder and deter us from quickly developing and exploring a variety of models for a problem at hand. In this paper, we present a “black box” variational in...
متن کاملSpreadsheet Probabilistic Programming
Spreadsheet workbook contents are simple programs. Because of this, probabilistic programming techniques can be used to perform Bayesian inversion of spreadsheet computations. What is more, existing execution engines in spreadsheet applications such as Microsoft Excel can be made to do this using only built-in functionality. We demonstrate this by developing a native Excel implementation of bot...
متن کاملBlack-box α-divergence for Deep Generative Models
We propose using the black-box α-divergence [1] as a flexible alternative to variational inference in deep generative models. By simply switching the objective function from the variational free-energy to the black-box α-divergence objective we are able to learn better generative models, which is demonstrated by a considerable improvement of the test log-likelihood in several preliminary experi...
متن کامل